package com.teen9g.infoplatformserver;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@Slf4j
@EnableRabbit //开启RabbitMQ功能
@EnableScheduling //开启任务自动调度功能
@EnableTransactionManagement //开启注解方式的事务管理
@SpringBootApplication
@ComponentScan("com.teen9g")
public class InfoPlatformServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(InfoPlatformServerApplication.class, args);
    }

}
